package cn.com.cifi.mars.mapper.mars;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import cn.com.cifi.mars.bean.dto.SysRoleDto;
import cn.com.cifi.mars.entity.common.SysRole;

public interface SysRoleMapper extends BaseMapper<SysRole>{
    int deleteByPrimaryKey(String roleId);

    int insertRecord(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(String roleId);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);
    //根据name获取角色信息
    SysRole selectByRoleName(String roleName);
    //查询角色集合信息
    List<SysRoleDto>selectRoleList(Page page);
   
}